#ifndef __BSP_CONFIG_H__
#define __BSP_CONFIG_H__

#ifdef __cplusplus
 extern "C" {
#endif

#include "main.h"
#include "cmsis_os.h"
#include "adc.h"
#include "crc.h"
// #include "i2c.h"
#include "dma.h"
#include "iwdg.h"
#include "rtc.h"
// #include "spi.h"
#include "tim.h"
#include "usart.h"
#include "gpio.h"
#include "wl_version.h"


/* uart port interface */
#define DEBUG_UART                              huart1

#define UART1_USING
// #define UART2_USING
// #define UART3_USING
// #define UART4_USING
// #define UART5_USING
// #define UART6_USING

/* i2c port interface*/
// #define BSP_BMS_I2C                                 hi2c1

// #define BSP_I2C_BMS_SCL_PORT                        GPIOB
// #define BSP_I2C_BMS_SCL_PIN                         GPIO_PIN_6
// #define BSP_I2C_BMS_SDA_PORT                        GPIOB
// #define BSP_I2C_BMS_SDA_PIN                         GPIO_PIN_7


/* spi port interface */
// #define SI4463_SPI 					                hspi3
// #define IMU_SPI 					                hspi2

/*  RGB atmosphere light interface */
// #define RGB_R_TIM				    htim4
// #define RGB_R_CHANNEL               TIM_CHANNEL_2
// #define RGB_G_TIM				    htim4
// #define RGB_G_CHANNEL               TIM_CHANNEL_1
// #define RGB_B_TIM				    htim4
// #define RGB_B_CHANNEL               TIM_CHANNEL_3

#ifdef __cplusplus
}
#endif

#endif